<?php
$array1 = array (
    "chave1" => "valor1" ,
    "chave2" => "valor2" ,
    10 => "joao paulo");
$array2 = array(0, 5, "joao", 15) ;
$array2[] = 20 ;
echo $array1["chave1"];
echo $array1[10];
?>